package cn.jhz.learn.blog.service.security.resource.article.impl;

import cn.jhz.learn.blog.service.security.resource.article.SubfieldPointCut;
import cn.jhz.learn.blog.vo.SubfieldPageView;
import cn.jhz.learn.blog.vo.article.query.page.ConsolePageView;
import cn.jhz.learn.blog.vo.article.submit.SubfieldParam;
import org.aspectj.lang.annotation.Pointcut;

public abstract class SubfieldPointCutImpl implements SubfieldPointCut {
    protected SubfieldPointCutImpl(){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.create(Integer, cn.jhz.learn.blog.vo.article.submit.SubfieldParam)) && args(uid,param)", argNames = "uid,param")
    @Override
    public void create(Integer uid, SubfieldParam param) {}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.delete(Integer,Integer, Boolean)) && args(uid, id, deep)", argNames = "uid, id, deep")
    @Override
    public void delete(Integer uid, Integer id, Boolean deep) {}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.update(Integer, cn.jhz.learn.blog.vo.article.submit.SubfieldParam)) && args(uid, param)", argNames = "uid, param")
    @Override
    public void update(Integer uid, SubfieldParam param) {}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.stick(Integer, Integer, Boolean)) && args(uid, id, sticky)", argNames = "uid, id, sticky")
    @Override
    public void stick(Integer uid, Integer id, Boolean sticky) {}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.recycle(Integer, Integer)) && args(uid, id)", argNames = "uid, id")
    @Override
    public void recycle(Integer uid, Integer id) {}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.open.article.ArticleSubfieldService.getDetail(Integer))&&args(id)", argNames = "id")
    @Override
    public void getDetail(Integer id){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.open.article.ArticleSubfieldService.getDetail(Integer,Integer))&&args(uid, id)", argNames = "uid,id")
    @Override
    public void getDetailUid(Integer uid, Integer id){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.getDetail(Integer,Integer))&&args(uid, id)", argNames = "uid,id")
    @Override
    public void getDetailConsole(Integer uid, Integer id){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.open.article.ArticleSubfieldService.getPage(cn.jhz.learn.blog.vo.SubfieldPageView))&&args(pageView)", argNames = "pageView")
    @Override
    public void getPage(SubfieldPageView pageView){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.open.article.ArticleSubfieldService.getPage(Integer,cn.jhz.learn.blog.vo.SubfieldPageView))&&args(uid, pageView)", argNames = "uid,pageView")
    @Override
    public void getPageUid(Integer uid, SubfieldPageView pageView){}

    @Pointcut(value = "execution(* cn.jhz.learn.blog.service.core.auth.article.ConsoleArticleSubfieldService.getCountAndList(Integer, cn.jhz.learn.blog.vo.article.query.page.ConsolePageView)) && args(uid, pageView)", argNames = "uid,pageView")
    @Override
    public void getCountAndList(Integer uid, ConsolePageView pageView) {}
}
